//
//  UIView+Debug.m
//  ios-loan
//
//  Created by guoqingping on 2017/12/15.
//  Copyright © 2017年 hxhg. All rights reserved.
//

#import "UIView+Debug.h"

@implementation UIView (Debug)

- (void)showDebugRedBord{
    self.layer.borderWidth = 0.5;
    self.layer.borderColor = [[UIColor redColor] CGColor];
}

- (void)showSubviewsDebugRedBord{
    for (UIView *view in self.subviews) {
        [self showDebugRedBord];
        [view showDebugRedBord];
        [view showSubviewsDebugRedBord];
    }
    
    
}


@end
